package xcmg.device.service.vo.agent;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import xcmg.device.dao.entity.repair.RepairDO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 服务借出单 VO类
 * @author huhuawei
 */
@Data
@ToString
public class ServiceBorrowOutVO  implements Serializable{
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "删除传参ID")
    private List<String> listId;

    @ApiModelProperty(value = "ID"  )
    private String id;

    @ApiModelProperty(value = "借用单号"  )
    private String borrowNo;
    
    @ApiModelProperty(value = "维修单号"  )
    private String repairNo;

    @ApiModelProperty(value = "出库状态"  )
    private Integer status;

    @ApiModelProperty(value = "发出仓库"  )
    private String warehouseCode;

    @ApiModelProperty(value = "仓库描述")
    private String warehouseCodeDesc;

    @ApiModelProperty(value = "客户id"  )
    private String customerId;

    @ApiModelProperty(value = "客户名称"  )
    private String customerName;

    @ApiModelProperty(value = "服务人员Id"  )
    private String serviceStaffId;

    @ApiModelProperty(value = "服务人员名称"  )
    private String serviceStaffName;

    @ApiModelProperty(value = "派工单号"  )
    private String dispatchNo;

    @ApiModelProperty(value = "原因"  )
    private String reason;

    @ApiModelProperty(value = "备注"  )
    private String remark;

    @ApiModelProperty(value = "创建人名称"  )
    private String createName;

    @ApiModelProperty(value = "创建人ID"  )
    private String createId;

    @ApiModelProperty(value = "创建时间"  )
    private Date createDate;
    @ApiModelProperty(value = "修改人id"  )
    private String updateId;

    @ApiModelProperty(value = "修改时间"  )
    private Date updateDate;

    @ApiModelProperty(value = "企业ID"  )
    private String orgId;

    @ApiModelProperty(value = "借用额度"  )
    private BigDecimal borrowingQuota;

    @ApiModelProperty(value = "欠款额度"  )
    private BigDecimal arrears;

    @ApiModelProperty(value = "借出明细实体类"  )
    private List<ServiceBorrowOutDetailVO> serviceBorrowOutDetailVOS;

    @ApiModelProperty(value = "成本总价"  )
    private BigDecimal costTotal;

    @ApiModelProperty(value = "单据总价"  )
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "单据状态"  )
    private Integer orderStatus;
    @ApiModelProperty(value = "删除id集合"  )
    private List<String> deleteIdList;

    @ApiModelProperty(value = "创建时间开始时间"  )
    private Date createDateStart;

    @ApiModelProperty(value = "创建时间结束时间"  )
    private Date createDateEnd;
    
    @ApiModelProperty(value = "erp编码"  )
    private String erpCode;
    
    @ApiModelProperty(value = "发动机编号"  )
    private String engineNo;

    @ApiModelProperty(value = "报修单上条码信息"  )
    private List<RepairDO> repairDOList;
}
